<div class="container">
    <div class="row">
        <div class="col-md-4 center-block">
            <div class="panel panel-default">
                <div class="panel-heading">
                        <h3 class="panel-title"><?php echo lang('login_heading');?></h3>
                </div>
                <div class="panel-body">
                    <p><?php echo lang('login_subheading');?></p>

                    <?php if ($message) { ?>
                        <div id="infoMessage" class="alert alert-warning"><?php echo $message;?></div>
                    <?php }
                    ?>

                    <?php 
                    echo form_open("auth/login", array( "class" => "form-signin", "role"=>"form"));
                    ?>

                      <p>
                        <?php echo lang('login_identity_label', 'identity');?>
                        <?php echo form_input($identity);?>
                      </p>

                      <p>
                        <?php echo lang('login_password_label', 'password');?>
                        <?php echo form_input($password);?>
                      </p>

                      <p>
                        <?php echo lang('login_remember_label', 'remember');?>
                        <?php echo form_checkbox('remember', '1', FALSE, 'id="remember"');?>
                      </p>


                      <p><?php echo form_submit($submit);?></p>

                    <?php echo form_close();?>

                    <p><a href="forgot_password"><?php echo lang('login_forgot_password');?></a></p>
                </div>
            </div>
        </div>
    </div>
</div>